#include "functions.h"


void setOntime(Switch* s, int hour, int minute){

	s.ontime.tm_hour = hour;
	s.ontime.tm_min = minute;
	s.ontime.tm_sec = sec;
	
	

}

void setDowntime(Switch* s, int hour, int minute){
	s.downtime.tm_hour = hour;
	s.downtime.tm_min = minute;
	s.downtime.tm_sec = sec;

}



